import React, {Component} from 'react';

import formate from 'utils/formate';
import Promise from 'utils/promise';
import { Modal, Button, Input, Form } from 'antd';

// import Button from 'antd/lib/button';
// import 'antd/lib/button/style/index.less';
class B11 extends Component{

    componentDidMount() {

        formate.log();
        
        let test = new Promise((resolve, reject)=> {
            setTimeout(()=> {
                resolve();
            }, 2000);
        });

        test.then(()=> {
            console.log('test promist');
        })
    }

    render() {
        return (<div><span>b11</span><Button type="primary">b111 Btn</Button></div>)
    }
}

export default B11;